package com.lyf.core.ui.web;

import android.graphics.Bitmap;
import android.webkit.WebView;

public interface WebClientListnenr {

    /**
     * 开始加载URL
     */
    void onPageStarted(WebView view, String url, Bitmap favicon);

    /**
     * 加载成功
     */
    void onPageSuccess(WebView view, String url);

    /**
     * 加载结束
     */
    void onPageFinished(WebView view, String url);

    /**
     * 加载失败
     */
    void onPageFailed(WebView view, String url);

    boolean shouldOverrideUrlLoading(WebView view, String url);

}
